<!DOCTYPE html>
<html lang="en-US">
    <head>
        <title>Term::ExtendedColor - Color screen output using 256 colors - metacpan.org</title>
        <link rel="preload" as="fetch" href="https://metacpan.org/account/login_status" crossorigin="anonymous" />
        <link href="https://metacpan.org/_assets/b8ccceeed47a0652049703d99326a9cea4933443.css" rel="stylesheet" type="text/css">
        <script src="https://metacpan.org/_assets/6bfedafe2d7caa915b7d84f61b45936818e3242e.js" type="text/javascript" defer></script>
        <link rel="alternate" type="application/rss+xml" title="Recent CPAN Uploads of Term-ExtendedColor - MetaCPAN" href="https://metacpan.org/dist/Term-ExtendedColor/releases.rss" />
        <link rel="canonical" href="./Term::ExtendedColor.html" />
        <meta name="description" content="Color screen output using 256 colors" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
        <link rel="shortcut icon" href="https://metacpan.org/static/icons/favicon.ico">
        <link rel="apple-touch-icon" sizes="152x152" href="https://metacpan.org/static/icons/apple-touch-icon.png">
        <link rel="search" href="https://metacpan.org/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
        <script>
          (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

          (function(skey, ga_id){
            ga('create', ga_id, {
              siteSpeedSampleRate : 100,
              storage             : 'none',
              clientId            : localStorage.getItem(skey)
            });
            ga(function(tracker) {
              localStorage.setItem(skey, tracker.get('clientId'));
            });
            ga('send', 'pageview');
          })('ga:clientId', 'UA-27829474-1');
        </script>
<meta name="twitter:card"        content="summary" />
<meta name="twitter:url"         content="https://metacpan.org/pod/Term::ExtendedColor" />
<meta name="twitter:title"       content="Term::ExtendedColor" />
<meta name="twitter:description" content="Color screen output using 256 colors" />
<meta name="twitter:site"        content="metacpan" />
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="header-logo-large hidden-xs">
              <a href="https://metacpan.org/" tabindex="0">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#logo" />
                </svg>
              </a>
            </div>
            <div class="header-logo-icon visible-xs">
              <a href="https://metacpan.org/">
                <svg class="logo" aria-label="MetaCPAN">
                  <use class="logo" href="/static/images/metacpan-logo.svg#dots" />
                </svg>
              </a>
            </div>
            <ul class="nav navbar-nav menu-items hidden-xs hidden-sm">
              <li><a href="https://metacpan.org/about">About</a></li>
              <li><a href="https://metacpan.org/about/sponsors">Sponsor</a></li>
              <li><a href="https://grep.metacpan.org/">grep::cpan</a></li>
              <li><a href="https://metacpan.org/recent">Recent</a></li>
              <li><a href="https://metacpan.org/about/faq">FAQ</a></li>
              <li><a href="https://metacpan.org/tools">Tools</a></li>
              <li><a href="https://fastapi.metacpan.org/">API</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <button type="button" class="searchbar-btn visible-xs visible-sm">
                    <i class="fa fa-search button-fa-icon"></i>
                </button>
                <form action="https://metacpan.org/search" class="searchbar-form visible-md visible-lg search-form form-horizontal">
                   <input type="hidden" name="size" id="metacpan_search-size" value="20">
                  <div class="form-group">
                      <div class="search-group">
                        <i class="fa fa-search"></i>
                        <input type="text" name="q" placeholder="Search the CPAN" size="41" autocorrect="off" autocapitalize="off" spellcheck="false" id="metacpan_search-input" class="form-control" value="">
                      </div>
                  </div>
                </form>
                    <li class="icon-slidepanel visible-xs visible-sm">
                      <button data-toggle="slidepanel" data-target=".slidepanel">
                        <span class="button-fa-icon">
                          <i class="fa fa-bars slidepanel-open"></i>
                          <i class="fa fa-times slidepanel-close"></i>
                        </span>
                      </button>
                    </li>
                <form action="https://metacpan.org/account/logout" method="POST" id="metacpan-logout"></form>
                <li class="dropdown logged_in" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon logged-in-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a href="https://metacpan.org/account/identities">Identities</a></li>
                        <li><a href="https://metacpan.org/account/profile">Profile</a></li>
                        <li><a href="https://metacpan.org/account/favorite/list">Favorites</a></li>
                        <li>
                            <a href="./Term::ExtendedColor.html#" type="button" onclick="$('#metacpan-logout').submit(); return false">
                              Logout
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_out" style="display: none;">
                    <button type="button" class="dropdown-toggle" data-toggle="dropdown">
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                      <i class="fas fa-chevron-down"></i>
                    </button>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="https://metacpan.org/login/github">
                                <i class="fab fa-github fa-fw"></i>
                                GitHub
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/twitter">
                                <i class="fab fa-twitter fa-fw"></i>
                                Twitter
                            </a>
                        </li>
                        <li>
                            <a href="https://metacpan.org/login/google">
                                <i class="fab fa-google fa-fw"></i>
                                Google
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="dropdown logged_placeholder">
                    <button>
                      <i class="fa fa-user button-fa-icon" aria-hidden="true"></i>
                    </button>
                </li>
            </ul>
        </nav>
        <div class="page-content ">
          <!--
          <div class="top-notify-banner">
            <i class="fas fa-info-circle"></i>
          </div>
          -->
          <nav class="sidebar">
            <div class="slidepanel">
              <ul class="nav-list ">
    <li class="nav-header no-margin-top">
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The date that this version of Term-ExtendedColor was released.">
      <span class="relatize">22 Apr 2019 07:11:49 UTC</span>
    </li>
  <li>
    Distribution: <a href="https://metacpan.org/dist/Term-ExtendedColor">Term-ExtendedColor</a>
  </li>
  <li>
    Module version: 0.504
  </li>
  <li>
    <a data-keyboard-shortcut="g s" href="https://metacpan.org/dist/Term-ExtendedColor/source/lib/Term/ExtendedColor.pm">Source</a>
    (<a href="https://metacpan.org/dist/Term-ExtendedColor/source/lib/Term/ExtendedColor.pm?raw=1">raw</a>)
  </li>
  <li>
    <a data-keyboard-shortcut="g b" href="https://metacpan.org/dist/Term-ExtendedColor/source/lib/Term">Browse</a>
    (<a href="https://metacpan.org/dist/Term-ExtendedColor/source/lib/Term?raw=1">raw</a>)
  </li>
    <li>
      <a data-keyboard-shortcut="g c" href="https://metacpan.org/dist/Term-ExtendedColor/changes">Changes</a>
    </li>
    <li>
      <a rel="noopener nofollow" class="nopopup" href="http://japh.se/">Homepage</a>
    </li>
    <li>
      <a class="nopopup" href="https://metacpan.org/dist/Term-ExtendedColor/contribute">How to Contribute</a>
    </li>
    <li>
        <a rel="noopener nofollow" data-keyboard-shortcut="g r" href="https://github.com/trapd00r/Term-ExtendedColor">Repository</a>
    </li>
    <li>
      <a rel="noopener nofollow" data-keyboard-shortcut="g i" href="https://github.com/trapd00r/Term-ExtendedColor/issues">Issues</a>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://matrix.cpantesters.org/?dist=Term-ExtendedColor+0.504" title="Matrix">Testers</a>
        <span title="(pass / fail / na)">(<a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Term-ExtendedColor.html?oncpan=1&amp;distmat=1&amp;version=0.504&amp;grade=2" style="color: #090">2047</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Term-ExtendedColor.html?oncpan=1&amp;distmat=1&amp;version=0.504&amp;grade=3" style="color: #900">0</a> / <a rel="noopener nofollow" href="https://www.cpantesters.org/distro/T/Term-ExtendedColor.html?oncpan=1&amp;distmat=1&amp;version=0.504&amp;grade=4">37</a>)</span>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpants.cpanauthors.org/release/WOLDRICH/Term-ExtendedColor-0.504">Kwalitee</a>
    </li>
    <li>
      <div class="ttip" data-toggle="tooltip" data-placement="bottom" title="The # people with an indexing permission on Term-ExtendedColor who have released something to CPAN in the last 2 years (i.e. the # people likely able to release critical fixes in a timely manner)">
      Bus factor: 1
      </div>
    </li>
    <li>
      <a rel="noopener nofollow" href="http://cpancover.com/latest/Term-ExtendedColor-0.504/index.html">93.19% Coverage </a>
    </li>
    <li>
      License: perl_5
    </li>
    <li>
      Perl: v5.10.0
    </li>
    <li class="nav-header">Activity</li>
    <li>
<div class="activity-graph">
    <img src="https://metacpan.org/dist/Term-ExtendedColor/activity.svg?res=month" />
    <div class="comment">24 month</div>
</div>
    </li>
    <li class="nav-header">Tools</li>
    <li>
      <a itemprop="downloadUrl" href="https://cpan.metacpan.org/authors/id/W/WO/WOLDRICH/Term-ExtendedColor-0.504.tar.gz">
      Download (<span itemprop="fileSize">19.55KB</span>)</a>
    </li>
    <li>
      <a href="https://explorer.metacpan.org/?url=%2Fmodule%2FWOLDRICH%2FTerm-ExtendedColor-0.504%2Flib%2FTerm%2FExtendedColor.pm">
        MetaCPAN Explorer
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Term-ExtendedColor/permissions">
        Permissions
      </a>
    </li>
    <li>
      <a href="https://metacpan.org/dist/Term-ExtendedColor/releases.rss">
        Subscribe to distribution
      </a>
    </li>
    <li>
      <button class="btn btn-link" data-toggle="modal" data-target="#metacpan_install-instructions-dialog">
        Install Instructions
      </button>
    </li>
    <li>
      <form action="https://metacpan.org/search">
        <input type="hidden" name="q" value="dist:Term-ExtendedColor">
        <input type="search" name="q" placeholder="Search distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
      </form>
    </li>
    <li>
      <form action="https://grep.metacpan.org/search">
        <input type="hidden" name="qd" value="Term-ExtendedColor">
        <input type="hidden" name="source" value="metacpan">
        <input type="search" name="q" placeholder="grep distribution" class="form-control tool-bar-form">
        <input type="submit" style="display: none">
     </form>
    </li>
    <li class="version-jump">
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Term/ExtendedColor.pm&#39;" class="form-control tool-bar-form">
  <option disabled selected>Jump to version</option>
<option
  disabled
  value="WOLDRICH/Term-ExtendedColor-0.504"
>0.504
  (WOLDRICH on 2019-04-22)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.503"
>0.503
  (WOLDRICH on 2019-03-11)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.502"
>0.502
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.501"
>0.501
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.500"
>0.500
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.499"
>0.499
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.302"
>0.302
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.300"
>0.300
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.242"
>0.242
  (WOLDRICH on 2019-02-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.240"
>0.240
  (WOLDRICH on 2019-02-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.239"
>0.239
  (WOLDRICH on 2019-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.238"
>0.238
  (WOLDRICH on 2019-01-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.234"
>0.234
  (WOLDRICH on 2019-01-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.232"
>0.232
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.230"
>0.230
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.226"
>0.226
  (WOLDRICH on 2018-11-30)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.224"
>0.224
  (WOLDRICH on 2011-03-04)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.222"
>0.222
  (WOLDRICH on 2011-02-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.206"
>0.206
  (WOLDRICH on 2011-02-21)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.204"
>0.204
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.202"
>0.202
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.200"
>0.200
  (WOLDRICH on 2011-02-19)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.190"
>0.190
  (WOLDRICH on 2011-02-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.185"
>0.185
  (WOLDRICH on 2011-02-07)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.184"
>0.184
  (WOLDRICH on 2011-02-03)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.183"
>0.183
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.182"
>0.182
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.172"
>0.172
  (WOLDRICH on 2011-01-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.171"
>0.171
  (WOLDRICH on 2011-01-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.169"
>0.169
  (WOLDRICH on 2011-01-12)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.168"
>0.168
  (WOLDRICH on 2011-01-05)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.167"
>0.167
  (WOLDRICH on 2011-01-01)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.166"
>0.166
  (WOLDRICH on 2010-11-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.165"
>0.165
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.164"
>0.164
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.163"
>0.163
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.162"
>0.162
  (WOLDRICH on 2010-11-26)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.161"
>0.161
  (WOLDRICH on 2010-11-25)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.16"
>0.16
  (WOLDRICH on 2010-11-25)</option>
</select>
    </li>
    <li class="version-diff">
<select onchange="document.location.href='/release/WOLDRICH/Term-ExtendedColor-0.504/diff/' + encodeURIComponent(this.value) + '/lib/Term/ExtendedColor.pm'
" class="form-control tool-bar-form">
  <option disabled selected>Diff with version</option>
<option
  disabled
  value="WOLDRICH/Term-ExtendedColor-0.504"
>0.504
  (WOLDRICH on 2019-04-22)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.503"
>0.503
  (WOLDRICH on 2019-03-11)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.502"
>0.502
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.501"
>0.501
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.500"
>0.500
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.499"
>0.499
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.302"
>0.302
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.300"
>0.300
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.242"
>0.242
  (WOLDRICH on 2019-02-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.240"
>0.240
  (WOLDRICH on 2019-02-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.239"
>0.239
  (WOLDRICH on 2019-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.238"
>0.238
  (WOLDRICH on 2019-01-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.234"
>0.234
  (WOLDRICH on 2019-01-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.232"
>0.232
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.230"
>0.230
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.226"
>0.226
  (WOLDRICH on 2018-11-30)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.224"
>0.224
  (WOLDRICH on 2011-03-04)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.222"
>0.222
  (WOLDRICH on 2011-02-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.206"
>0.206
  (WOLDRICH on 2011-02-21)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.204"
>0.204
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.202"
>0.202
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.200"
>0.200
  (WOLDRICH on 2011-02-19)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.190"
>0.190
  (WOLDRICH on 2011-02-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.185"
>0.185
  (WOLDRICH on 2011-02-07)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.184"
>0.184
  (WOLDRICH on 2011-02-03)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.183"
>0.183
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.182"
>0.182
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.172"
>0.172
  (WOLDRICH on 2011-01-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.171"
>0.171
  (WOLDRICH on 2011-01-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.169"
>0.169
  (WOLDRICH on 2011-01-12)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.168"
>0.168
  (WOLDRICH on 2011-01-05)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.167"
>0.167
  (WOLDRICH on 2011-01-01)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.166"
>0.166
  (WOLDRICH on 2010-11-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.165"
>0.165
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.164"
>0.164
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.163"
>0.163
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.162"
>0.162
  (WOLDRICH on 2010-11-26)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.161"
>0.161
  (WOLDRICH on 2010-11-25)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.16"
>0.16
  (WOLDRICH on 2010-11-25)</option>
</select>
    </li>

    <li>
<ul class="dependencies">
  <li class="nav-header">Dependencies</li>
  <li><i class="ttip" title="dynamic_config enabled">unknown</i></li>
  <li>
    <hr>
  </li>
  <li>
    <a href="https://metacpan.org/module/Term::ExtendedColor/requires">Reverse dependencies</a>
  </li>
  <li>
    <a href="http://deps.cpantesters.org/?module=Term%3A%3AExtendedColor">CPAN Testers List</a>
  </li>
  <li>
    <a href="https://cpandeps.grinnz.com/?dist=Term-ExtendedColor">Dependency graph</a>
  </li>
</ul>
    </li>
    <li class="nav-header">Permalinks</li>
    <li>
      <a href="https://metacpan.org/release/WOLDRICH/Term-ExtendedColor-0.504/view/lib/Term/ExtendedColor.pm">This version</a>
    </li>
    <li>
      <a href="./Term::ExtendedColor.html">Latest version</a>
    </li>
    <li>
<div class="plussers">
<div class="nav-header">++ed by:</div>
<div>
<a class="display-all" href="https://metacpan.org/author/KEEDI"><img src="https://www.gravatar.com/avatar/95f905a7a4ccc573c711e9d264c0fde8?d=identicon&amp;s=20" title="KEEDI" alt="KEEDI"></a>
<a class="display-all" href="https://metacpan.org/author/RWP"><img src="https://www.gravatar.com/avatar/7110eb2389e69a066d9d7cad7a1cc2bf?d=identicon&amp;s=20" title="RWP" alt="RWP"></a>
<a class="display-all" href="https://metacpan.org/author/WOLDRICH"><img src="https://www.gravatar.com/avatar/cab04f73c7725929dd33980271754570?d=identicon&amp;s=20" title="WOLDRICH" alt="WOLDRICH"></a>
<a class="display-all" href="https://metacpan.org/author/PERLANCAR"><img src="https://www.gravatar.com/avatar/c66c9e215cc2342796cd87ca82d044a8?d=identicon&amp;s=20" title="PERLANCAR" alt="PERLANCAR"></a>
</div>
<!-- Display counts of plussers-->
<div>
    <a href="https://metacpan.org/dist/Term-ExtendedColor/plussers">4 PAUSE users</a>
</div>
<div>
    1 non-PAUSE user
</div>
</div>
    </li>
    <li>
    </li>
              </ul>
            </div>
          </nav>
          <div class="content-navigation">
<div class="breadcrumbs">
  <span>
    <a data-keyboard-shortcut="g a" rel="author" href="https://metacpan.org/author/WOLDRICH" class="author-name">Magnus Woldrich</a>
  </span>
  <span>&nbsp;/&nbsp;</span>
  <div class="release dist-release status-latest maturity-released">
    <span class="dropdown"><b class="caret"></b></span>
<select onchange="document.location.href=&#39;/release/&#39;+this.value+&#39;/view/lib/Term/ExtendedColor.pm&#39;" class="">
<option
  selected
  value="WOLDRICH/Term-ExtendedColor-0.504"
>0.504
  (WOLDRICH on 2019-04-22)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.503"
>0.503
  (WOLDRICH on 2019-03-11)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.502"
>0.502
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.501"
>0.501
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.500"
>0.500
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.499"
>0.499
  (WOLDRICH on 2019-03-06)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.302"
>0.302
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.300"
>0.300
  (WOLDRICH on 2019-02-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.242"
>0.242
  (WOLDRICH on 2019-02-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.240"
>0.240
  (WOLDRICH on 2019-02-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.239"
>0.239
  (WOLDRICH on 2019-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.238"
>0.238
  (WOLDRICH on 2019-01-17)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.234"
>0.234
  (WOLDRICH on 2019-01-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.232"
>0.232
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.230"
>0.230
  (WOLDRICH on 2019-01-09)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.226"
>0.226
  (WOLDRICH on 2018-11-30)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.224"
>0.224
  (WOLDRICH on 2011-03-04)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.222"
>0.222
  (WOLDRICH on 2011-02-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.206"
>0.206
  (WOLDRICH on 2011-02-21)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.204"
>0.204
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.202"
>0.202
  (WOLDRICH on 2011-02-20)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.200"
>0.200
  (WOLDRICH on 2011-02-19)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.190"
>0.190
  (WOLDRICH on 2011-02-16)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.185"
>0.185
  (WOLDRICH on 2011-02-07)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.184"
>0.184
  (WOLDRICH on 2011-02-03)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.183"
>0.183
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.182"
>0.182
  (WOLDRICH on 2011-01-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.172"
>0.172
  (WOLDRICH on 2011-01-24)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.171"
>0.171
  (WOLDRICH on 2011-01-18)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.169"
>0.169
  (WOLDRICH on 2011-01-12)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.168"
>0.168
  (WOLDRICH on 2011-01-05)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.167"
>0.167
  (WOLDRICH on 2011-01-01)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.166"
>0.166
  (WOLDRICH on 2010-11-29)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.165"
>0.165
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.164"
>0.164
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.163"
>0.163
  (WOLDRICH on 2010-11-27)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.162"
>0.162
  (WOLDRICH on 2010-11-26)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.161"
>0.161
  (WOLDRICH on 2010-11-25)</option>
<option
  
  value="WOLDRICH/Term-ExtendedColor-0.16"
>0.16
  (WOLDRICH on 2010-11-25)</option>
</select>
    <a data-keyboard-shortcut="g d" class="release-name" href="https://metacpan.org/dist/Term-ExtendedColor">Term-ExtendedColor-0.504</a>
  </div>
<span class="river-gauge-gauge">
  <svg width="24px"
       height="15px"
       version="1.1"
       xmlns="http://www.w3.org/2000/svg"
       xmlns:xlink="http://www.w3.org/1999/xlink">

    <g>
      <title>        River stage two &#10;
          • 13 direct dependents &#10;          • 15 total dependents
      </title>

      <rect x="0"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="5"  y="0" width="4" height="15" fill="#7ea3f2" />
      <rect x="10"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="15"  y="0" width="4" height="15" fill="#e4e2e2" />
      <rect x="20"  y="0" width="4" height="15" fill="#e4e2e2" />
    </g>
  </svg>

</span>
<div id="Term-ExtendedColor-fav" class="logged_in">
<form action="https://metacpan.org/account/favorite/add" style="display: inline" onsubmit="return favDistribution(this)">
    <input type="hidden" name="remove" value="0">
    <input type="hidden" name="release" value="Term-ExtendedColor-0.504">
    <input type="hidden" name="author" value="WOLDRICH">
    <input type="hidden" name="distribution" value="Term-ExtendedColor">
    <button type="submit" class="favorite highlight"><span>5</span> ++</button>
</form>
</div>
<div class="logged_out">
<a href="./Term::ExtendedColor.html" onclick="alert('Please sign in to add favorites'); return false" class="favorite highlight">
<span>5</span> ++</a>
</div>
   / <span>Term::ExtendedColor</span>
</div>
          </div>
          <main class="content">


<nav class="toc">
  <div class="toc-header"><strong>Contents</strong></div>
<ul>
  <li><a href="./Term::ExtendedColor.html#NAME">NAME</a></li>
  <li><a href="./Term::ExtendedColor.html#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="./Term::ExtendedColor.html#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="./Term::ExtendedColor.html#EXPORTS">EXPORTS</a></li>
  <li><a href="./Term::ExtendedColor.html#FUNCTIONS">FUNCTIONS</a>
    <ul>
      <li><a href="./Term::ExtendedColor.html#fg($color,-$string)">fg($color, $string)</a></li>
      <li><a href="./Term::ExtendedColor.html#bg($color,-$string)">bg($color, $string)</a></li>
      <li><a href="./Term::ExtendedColor.html#uncolor($string)-%7C-uncolour($string)">uncolor($string) | uncolour($string)</a></li>
      <li><a href="./Term::ExtendedColor.html#get_colors()-%7C-get_colours()">get_colors() | get_colours()</a></li>
      <li><a href="./Term::ExtendedColor.html#clear()">clear()</a></li>
      <li><a href="./Term::ExtendedColor.html#autoreset()">autoreset()</a></li>
      <li><a href="./Term::ExtendedColor.html#bold(%5C@data)">bold(\@data)</a></li>
      <li><a href="./Term::ExtendedColor.html#italic(%5C@data)">italic(\@data)</a></li>
      <li><a href="./Term::ExtendedColor.html#underline(%5C@data)">underline(\@data)</a></li>
      <li><a href="./Term::ExtendedColor.html#inverse(%5C@data)">inverse(\@data)</a></li>
    </ul>
  </li>
  <li><a href="./Term::ExtendedColor.html#NOTES">NOTES</a></li>
  <li><a href="./Term::ExtendedColor.html#COLORS-AND-ATTRIBUTES">COLORS AND ATTRIBUTES</a>
    <ul>
      <li><a href="./Term::ExtendedColor.html#Attributes">Attributes</a></li>
      <li><a href="./Term::ExtendedColor.html#Standard-color-map">Standard color map</a></li>
      <li><a href="./Term::ExtendedColor.html#X-color-names">X color names</a></li>
    </ul>
  </li>
  <li><a href="./Term::ExtendedColor.html#SEE-ALSO">SEE ALSO</a></li>
  <li><a href="./Term::ExtendedColor.html#AUTHOR">AUTHOR</a></li>
  <li><a href="./Term::ExtendedColor.html#CONTRIBUTORS">CONTRIBUTORS</a></li>
  <li><a href="./Term::ExtendedColor.html#COPYRIGHT">COPYRIGHT</a></li>
  <li><a href="./Term::ExtendedColor.html#LICENSE">LICENSE</a></li>
</ul></nav>
<div class="pod anchors">
<h1 id="NAME">NAME</h1>

<p>Term::ExtendedColor - Color screen output using 256 colors</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    use Term::ExtendedColor qw(:all);

    # Or use the &#39;attributes&#39; tag to only import the functions for setting
    # attributes.
    # This will import the following functions:

    # fg(), bg(), bold(), underline(), inverse(), italic(), clear()
    use Term::ExtendedColor &#39;:attributes&#39;;

    ## Foreground colors

    my $red_text = fg(&#39;red2&#39;, &#39;this is in red&#39;);
    my $spring   = fg(&#39;springgreen3&#39;, &#39;this is green&#39;);

    ## Background colors

    print bg(&#39;red5&#39;, &quot;Default foreground text on dark red background&quot;), &quot;\n&quot;;
    my $red_on_green = fg(&#39;red3&#39;, bg(&#39;green12&#39;, &#39;Red text on green background&#39;));
    print &quot;$red_on_green\n&quot;;

    ## Fall-through attributes

    Term::ExtendedColor::autoreset(0);
    my $bold  = fg(&#39;bold&#39;, &#39;This is bold&#39;);
    my $red   = fg(&#39;red2&#39;, &#39;This is red... and bold&#39;);
    my $green = bg(&#39;green28&#39;, &#39;This is bold red on green background&#39;);

    # Make sure to clear all attributes when autoreset turned OFF,
    # or else the users shell will be messed up

    my $clear = clear();
    print &quot;$bold\n&quot;;
    print &quot;$red\n&quot;;
    print &quot;$green $clear\n&quot;;

    ## Non-color attributes

    # Turn on autoreset again
    Term::ExtendedColor::autoreset(1);

    for(qw(italic underline blink reverse bold)) {
      print fg($_, $_), &quot;\n&quot;;
    }

    # For convenience

    my $bolded = bold(&quot;Bold text!&quot;);
    my $italic = italic(&quot;Text in italics!&quot;);

    ## Remove all attributes from input data
    my @colored;
    push(@colored, fg(&#39;bold&#39;, fg(&#39;red2&#39;, &#39;Bold and red&#39;)));
    push(@colored, fg(&#39;green13&#39;, fg(&#39;italic&#39;, &#39;Green, italic&#39;)));

    print &quot;$_\n&quot; for @colored;
    print &quot;$_\n&quot; for uncolor(@colored);</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p><b>Term::ExtendedColor</b> provides functions for sending so called extended escape sequences to the terminal. This ought to be used with a 256-color compatible terminal; see the NOTES section for a matrix of terminal emulators currently supporting this.</p>

<h1 id="EXPORTS">EXPORTS</h1>

<p>None by default.</p>

<p>Two tags are provided for convience:</p>

<pre><code>  # Import all functions
  use Term::ExtendedColor qw(:all);

  # Import functions for setting attributes
  # fg(), bg(), bold(), italic(), underline(), inverse(), clear()
  use Term::ExtendedColor qw(:attributes);</code></pre>

<h1 id="FUNCTIONS">FUNCTIONS</h1>

<h2 id="fg($color,-$string)"><a id="fg"></a><a id="fg-color---string"></a>fg($color, $string)</h2>

<pre><code>  my $green = fg(&#39;green2&#39;, &#39;green foreground&#39;);
  my @blue  = fg(&#39;blue4&#39;,  [&#39;takes arrayrefs as well&#39;]);

  my $x_color = fg(&#39;mediumorchid1&#39;, &#39;Using mappings from the X11 rgb.txt&#39;);

  my $arbitary_color = fg(4, &#39;This is colored in the fifth ANSI color&#39;);

  my $raw_seq = fg(&#39;38;5;197;48;5;53;1;3;4;5;7&#39;, &#39;this works too&#39;);</code></pre>

<p>Set foreground colors and attributes.</p>

<p>See <a href="./Term::ExtendedColor.html#COLORS-AND-ATTRIBUTES">&quot;COLORS AND ATTRIBUTES&quot;</a> for valid first arguments. Additionally, colors can be specified using their index value:</p>

<pre><code>  my $yellow = fg(220, &#39;Yellow&#39;);</code></pre>

<p>If the internal <code>$AUTORESET</code> variable is non-zero (default), every element in the list of strings will be wrapped in escape sequences in such a way that the requested attributes will be set before the string and reset to defaults after the string.</p>

<p>Fall-through attributes can be enabled by setting <code>$AUTORESET</code> to a false value.</p>

<pre><code>  Term::ExtendedColor::autoreset( 0 );
  my $red   = fg(&#39;red1&#39;, &#39;Red&#39;);
  my $green = fg(&#39;green1&#39;, &#39;Green&#39;);

  print &quot;Text after $red is red until $green\n&quot;;
  print &quot;Text is still green, &quot;, bold(&#39;and now bold as well!&#39;);

  # If you exit now without resetting the colors and attributes, chances are
  # your prompt will be messed up.

  clear(); # All back to normal</code></pre>

<p>If an invalid attribute is passed, the original data will be returned unmodified.</p>

<p>If no attribute is passed, thrown an exception.</p>

<h2 id="bg($color,-$string)"><a id="bg"></a><a id="bg-color---string"></a>bg($color, $string)</h2>

<pre><code>  my $green_bg = bg(&#39;green4&#39;, &#39;green background&#39;);
  my @blue_bg  = bg(&#39;blue6&#39;,  [&#39;blue background&#39;]);</code></pre>

<p>Like <code>fg()</code>, but sets background color.</p>

<h2 id="uncolor($string)-|-uncolour($string)"><a id="uncolor"></a><a id="uncolor-string----uncolour-string"></a>uncolor($string) | uncolour($string)</h2>

<pre><code>  my $stripped = uncolor($colored_data);
  my @no_color = uncolor(\@colored);
  my @no_color = uncolor(@colored);</code></pre>

<p>Remove all attribute and color escape sequences from the input.</p>

<p>See <a href="https://metacpan.org/pod/distribution/Term-ExtendedColor/bin/uncolor">uncolor</a> for a command-line utility using this function.</p>

<h2 id="get_colors()-|-get_colours()"><a id="get_colors"></a><a id="get_colors----get_colours"></a>get_colors() | get_colours()</h2>

<pre><code>  my $colors = get_colors();</code></pre>

<p>Returns a hash reference with all available attributes and colors.</p>

<h2 id="clear()"><a id="clear"></a>clear()</h2>

<p>When called in scalar context, returns the escape sequence that resets all attributes to their defaults.</p>

<p>When called in void context, prints it directly.</p>

<h2 id="autoreset()"><a id="autoreset"></a>autoreset()</h2>

<p>Turn autoreset on/off. Enabled by default.</p>

<pre><code>  Term::ExtendedColor::autoreset( 0 ); # Turn off autoreset</code></pre>

<h2 id="bold(\@data)"><a id="bold"></a><a id="bold-data"></a>bold(\@data)</h2>

<p>Convenience function that might be used in place of <code>fg(&#39;bold&#39;, \@data)</code>;</p>

<p>When called without arguments, returns a a string that turns off the bold attribute.</p>

<h2 id="italic(\@data)"><a id="italic"></a><a id="italic-data"></a>italic(\@data)</h2>

<p>Convenience function that might be used in place of <code>fg(&#39;italic&#39;, \@data)</code>;</p>

<p>When called without arguments, returns a a string that turns off the italics attribute.</p>

<h2 id="underline(\@data)"><a id="underline"></a><a id="underline-data"></a>underline(\@data)</h2>

<p>Convenience function that might be used in place of <code>fg(&#39;underline&#39;, \@data)</code>;</p>

<p>When called without arguments, returns a a string that turns off the underline attribute.</p>

<h2 id="inverse(\@data)"><a id="inverse"></a><a id="inverse-data"></a>inverse(\@data)</h2>

<p>Reverse video / inverse. Convenience function that might be used in place of <code>fg(&#39;inverse&#39;, \@data)</code>;</p>

<p>When called without arguments, returns a a string that turns off the inverse attribute.</p>

<h1 id="NOTES">NOTES</h1>

<p>The codes generated by this module complies to the extension of the ANSI colors standard first implemented in xterm in 1999. The first 16 color indexes (0 - 15) is the regular ANSI colors, while index 16 - 255 is the extension. Not all terminal emulators support this extension, though I&#39;ve had a hard time finding one that doesn&#39;t. :)</p>

<pre><code>  Terminal    256 colors
  ----------------------
  aterm               no
  eterm              yes
  gnome-terminal     yes
  konsole            yes
  lxterminal         yes
  mrxvt              yes
  roxterm            yes
  rxvt                no
  rxvt-unicode       yes *
  sakura             yes
  terminal           yes
  terminator         yes
  vte                yes
  xterm              yes
  iTerm2             yes
  Terminal.app        no

  GNU Screen         yes
  tmux               yes
  TTY/VC              no</code></pre>

<p>* Previously needed a patch. Full support was added in version 9.09.</p>

<p>There&#39;s no way to give these extended colors meaningful names.</p>

<p>Our first thought was to map them against some standard color names, like those in the HTML 4.0 specification or the SVG one. They didn&#39;t match.</p>

<p>Therefore, they are named by their base color (red, green, magenta) plus index; The first index (always 1) is the brightest shade of that particular color, while the last index is the darkest.</p>

<p>It&#39;s also possible to use some X color names, as defined in <code>rgb.txt</code>. Do note that the color values do not match exactly; it&#39;s just an approximation.</p>

<p>A full list of available colors can be retrieved with <code>get_colors()</code>. See <a href="./Term::ExtendedColor.html#COLORS-AND-ATTRIBUTES">&quot;COLORS AND ATTRIBUTES&quot;</a> for full list. All mapped colors can also be retrieved programmatically with <code>get_colors()</code>.</p>

<h1 id="COLORS-AND-ATTRIBUTES"><a id="COLORS"></a>COLORS AND ATTRIBUTES</h1>

<h2 id="Attributes">Attributes</h2>

<pre><code>  reset, clear, normal        reset all attributes
  bold, bright                bold or bright, depending on implementation
  faint                       decreased intensity (not widely supported)
  italic, cursive             italic or cursive
  underline, underscore       underline
  blink                       slow blink
  blink_ms                    rapid blink (only supported in MS DOS)
  reverse, inverse, negative  reverse video
  conceal                     conceal, or hide (not widely supported)</code></pre>

<h2 id="Standard-color-map"><a id="Standard"></a>Standard color map</h2>

<pre><code>  FIRST       LAST

  red1        red5
  blue1       blue17
  cyan1       cyan24
  gray1       gray24
  green1      green28
  orange1     orange5
  purple1     purple30
  yellow1     yellow18
  magenta1    magenta26</code></pre>

<h2 id="X-color-names"><a id="X"></a>X color names</h2>

<pre><code>  aquamarine1
  aquamarine3
  blueviolet
  cadetblue1
  cadetblue2
  chartreuse1
  chartreuse2
  chartreuse3
  chartreuse4
  cornflowerblue
  cornsilk1
  darkblue
  darkcyan
  darkgoldenrod
  darkgreen
  darkkhaki
  darkmagenta1
  darkmagenta2
  darkolivegreen1
  darkolivegreen2
  darkolivegreen3
  darkolivegreen4
  darkolivegreen5
  darkorange3
  darkorange4
  darkorange1
  darkred1
  darkred2
  darkseagreen1
  darkseagreen2
  darkseagreen3
  darkseagreen4
  darkslategray1
  darkslategray2
  darkslategray3
  darkturquoise
  darkviolet
  deeppink1
  deeppink2
  deeppink3
  deeppink4
  deepskyblue1
  deepskyblue2
  deepskyblue3
  deepskyblue4
  deepskyblue4
  dodgerblue1
  dodgerblue2
  dodgerblue3
  gold1
  gold3
  greenyellow
  grey0
  grey100
  grey11
  grey15
  grey19
  grey23
  grey27
  grey30
  grey3
  grey35
  grey37
  grey39
  grey42
  grey46
  grey50
  grey53
  grey54
  grey58
  grey62
  grey63
  grey66
  grey69
  grey70
  grey74
  grey7
  grey78
  grey82
  grey84
  grey85
  grey89
  grey93
  honeydew2
  hotpink2
  hotpink3
  hotpink
  indianred1
  indianred
  khaki1
  khaki3
  lightcoral
  lightcyan1
  lightcyan3
  lightgoldenrod1
  lightgoldenrod2
  lightgoldenrod3
  lightgreen
  lightpink1
  lightpink3
  lightpink4
  lightsalmon1
  lightsalmon3
  lightsalmon3
  lightseagreen
  lightskyblue1
  lightskyblue3
  lightskyblue3
  lightslateblue
  lightslategrey
  lightsteelblue1
  lightsteelblue3
  lightsteelblue
  lightyellow3
  mediumorchid1
  mediumorchid3
  mediumorchid
  mediumpurple1
  mediumpurple2
  mediumpurple3
  mediumpurple4
  mediumpurple
  mediumspringgreen
  mediumturquoise
  mediumvioletred
  mistyrose1
  mistyrose3
  navajowhite1
  navajowhite3
  navyblue
  orangered1
  orchid1
  orchid2
  orchid
  palegreen1
  palegreen3
  paleturquoise1
  paleturquoise4
  palevioletred1
  pink1
  pink3
  plum1
  plum2
  plum3
  plum4
  purple
  rosybrown
  royalblue1
  salmon1
  sandybrown
  seagreen1
  seagreen2
  seagreen3
  skyblue1
  skyblue2
  skyblue3
  slateblue1
  slateblue3
  springgreen1
  springgreen2
  springgreen3
  springgreen4
  steelblue1
  steelblue3
  steelblue
  tan
  thistle1
  thistle3
  turquoise2
  turquoise4
  violet
  wheat1
  wheat4</code></pre>

<p>In addition, it&#39;s also possible to pass raw color;attr strings like so:</p>

<pre><code>    my $foo = fg(&#39;48;5;89;38;5;197;1;3;4;7&#39;, &#39;foo&#39;);</code></pre>

<p>Even though the fg() function is used, we set the following attributes:</p>

<pre><code>  background =&gt; 89
  foreground =&gt; 197
  bold
  italic
  underline
  reverse</code></pre>

<h1 id="SEE-ALSO"><a id="SEE"></a>SEE ALSO</h1>

<p><a href="https://metacpan.org/pod/Term::ExtendedColor::Xresources">Term::ExtendedColor::Xresources</a> <a href="https://metacpan.org/pod/Term::ExtendedColor::TTY">Term::ExtendedColor::TTY</a> <a href="https://metacpan.org/pod/Term::ANSIColor">Term::ANSIColor</a></p>

<h1 id="AUTHOR">AUTHOR</h1>

<pre><code>  Magnus Woldrich
  CPAN ID: WOLDRICH
  m@japh.se
  http://github.com/trapd00r
  http://japh.se</code></pre>

<h1 id="CONTRIBUTORS">CONTRIBUTORS</h1>

<p><a href="https://github.com/Varadinsky">Varadinsky</a></p>

<h1 id="COPYRIGHT">COPYRIGHT</h1>

<p>Copyright 2010, 2011, 2018, 2019- the <b>Term::ExtendedColor</b> <a href="./Term::ExtendedColor.html#AUTHOR">&quot;AUTHOR&quot;</a> and <a href="./Term::ExtendedColor.html#CONTRIBUTORS">&quot;CONTRIBUTORS&quot;</a> as listed above.</p>

<h1 id="LICENSE">LICENSE</h1>

<p>This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.</p></div>

<div id="metacpan_install-instructions-dialog" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">Module Install Instructions</h4>
      </div>
      <div class="modal-body">
        <p>To install Term::ExtendedColor, copy and paste the appropriate command in to your terminal.</p>
        <p><a href="https://metacpan.org/dist/App-cpanminus/view/bin/cpanm">cpanm</a></p>
        <pre><code>cpanm Term::ExtendedColor</code></pre>
        <p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
        <pre><code>perl -MCPAN -e shell
install Term::ExtendedColor</code></pre>
        <p>For more information on module installation, please visit <a href="https://www.cpan.org/modules/INSTALL.html">the detailed CPAN module installation guide</a>.</p>
      </div>
      <div class="modal-footer">
        <a href="./Term::ExtendedColor.html#" data-dismiss="modal" class="btn">Close</a>
      </div>
    </div>
  </div>
</div>
          </main>
          <div class="content-pagination">
          </div>
        </div>
        <footer class="footer">
          <div class="footer-container">
            <div class="footer-social">
              <div class="footer-link footer-logo">
                <a href="https://metacpan.org/">
                  <img src="https://metacpan.org/static/images/metacpan-logo.svg" alt="MetaCPAN" />
                </a>
              </div>
              <a class="footer-social-link" href="https://github.com/metacpan">
                <i class="fab fa-github-square"></i>
              </a>
              <a class="footer-social-link" href="https://fosstodon.org/@metacpan">
                <i class="fab fa-mastodon"></i>
              </a>
            </div>
            <div class="footer-links">
              <div class="footer-link">
                  <a href="https://metacpan.org/about">About</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/sponsors">Sponsor</a>
              </div>
              <div class="footer-link">
                  <a href="https://grep.metacpan.org">grep::cpan</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/recent">Recent</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/about/faq">FAQ</a>
              </div>
              <div class="footer-link">
                  <a href="https://metacpan.org/tools">Tools</a>
              </div>
              <div class="footer-link">
                  <a href="https://fastapi.metacpan.org/">API</a>
              </div>
              <div class="footer-link">
                  <a href="https://www.perl.org/">Perl.org</a>
              </div>
            </div>
            <div class="footer-sponsors">
              <a class="footer-sponsor-link" target="_blank" href="https://www.bytemark.co.uk/" rel="noopener">
                <img class="footer-sponsor-bytemark" src="https://metacpan.org/static/images/sponsors/bytemark_logo.svg" alt="Bytemark logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.liquidweb.com/" rel="noopener">
                <img class="footer-sponsor-liquidweb" src="https://metacpan.org/static/images/sponsors/liquidweb_logo.png" alt="liquidweb logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://deriv.com/careers/" rel="noopener">
                <img class="footer-sponsor-deriv" src="https://metacpan.org/static/images/sponsors/deriv.svg" alt="Deriv logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://geocode.xyz" rel="noopener">
                <img class="footer-sponsor-geocode" src="https://metacpan.org/static/images/sponsors/geocodelogo.svg" alt="Geocode logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://www.fastly.com/" rel="noopener">
                <img class="footer-sponsor-fastly" src="https://metacpan.org/static/images/sponsors/fastly_logo.svg" alt="Fastly logo">
              </a>
              <a class="footer-sponsor-link" target="_blank" href="https://opencagedata.com" rel="noopener">
                <img class="footer-sponsor-opencage" src="https://metacpan.org/static/images/sponsors/open-cage.svg" alt="OpenCage logo">
              </a>
            </div>
          </div>
        </footer>
        <div class="modal fade" tabindex="-1" role="dialog" id="metacpan_keyboard-shortcuts">
          <div class="modal-dialog">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Keyboard Shortcuts</h4>
              </div>
              <div class="modal-body row">
<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Global</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>s</kbd>
        </td>
        <td>Focus search bar</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>?</kbd>
        </td>
        <td>Bring up this help dialog</td>
      </tr>
    </tbody>
  </table>

  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>GitHub</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>p</kbd>
        </td>
        <td>Go to pull requests</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>go to github issues (only if github is preferred repository)</td>
      </tr>
    </tbody>
  </table>
</div>

<div class="col-md-6">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>POD</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>a</kbd>
        </td>
        <td>Go to author</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>c</kbd>
        </td>
        <td>Go to changes</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>i</kbd>
        </td>
        <td>Go to issues</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>d</kbd>
        </td>
        <td>Go to dist</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>r</kbd>
        </td>
        <td>Go to repository/SCM</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>s</kbd>
        </td>
        <td>Go to source</td>
      </tr>
      <tr>
        <td class="keys">
          <kbd>g</kbd> <kbd>b</kbd>
        </td>
        <td>Go to file browse</td>
      </tr>

    </tbody>
  </table>
</div>

<div class="col-md-12">
  <table class="table keyboard-shortcuts">
    <thead>
      <tr>
        <th></th>
        <th>Search terms</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><em>module:</em> (e.g. <a href="https://metacpan.org/search?q=module%3APlugin">module:Plugin</a>)</td>
      </tr>
      <tr>
        <td><em>distribution:</em> (e.g. <a href="https://metacpan.org/search?q=distribution%3ADancer+auth">distribution:Dancer auth</a>)</td>
      </tr>
      <tr>
        <td><em>author:</em> (e.g. <a href="https://metacpan.org/search?q=author%3ASONGMU+Redis">author:SONGMU Redis</a>)</td>
      </tr>
      <tr>
        <td><em>version:</em> (e.g. <a href="https://metacpan.org/search?q=version%3A1.00">version:1.00</a>)</td>
      </tr>
    </tbody>
  </table>
</div>
              </div>
              <div class="modal-footer"></div>
            </div>
          </div>
        </div>
    </body>
</html>
